package com.bw.mapper;

import com.bw.bean.DyingBean;
import com.bw.bean.FleiBean;
import com.bw.bean.Middle1Bean;

import java.util.List;
import java.util.Map;

public interface DyingBeanMapper {
    //查询分页模胡
    public List<DyingBean> list(Map map);
    //删除
    public int delDying(Integer[] sid);
    public int delMiddle(Integer[] sid);
    //添加
    public int addDying(DyingBean dyingBean);
    public int addMiddle(Middle1Bean middle1Bean);
    //回显
    public List<FleiBean> huixian();
    //根据id查询
    public DyingBean idlist(Integer sid);
    //修改
    public int updateDying(DyingBean dyingBean);
}
